<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box {
            width: 200px;
            height: 200px;
            float: left;
            border: 1px solid #000000;
            background: red;
            margin-right: 2px;
        }
    </style>
    <script src="jquery-3.2.1.min.js"></script>
    <script>
        $(function () {
            $('.box').click(function () {
                $(this).hide(1500).siblings().show(1500);
            })
        })
    </script>
</head>
<body>
<div class="box">1</div>
<div class="box">2</div>
<div class="box">3</div>
</body>
</html>